﻿
CREATE FUNCTION [dbo].[VinCheck_Installed](
	@VIN varchar(17)
)RETURNS bit AS
BEGIN

IF LEN(@VIN) = 17 AND dbo.VinCheck(REPLACE(@VIN,'_','')) = 1 RETURN 1

RETURN 0

END




